<?xml version="1.0" encoding="UTF-8"?>
<ui:composition template="/WEB-INF/templates/default.xhtml"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:a4j="http://richfaces.org/a4j"
                xmlns:rich="http://richfaces.org/rich"
                xmlns:my="http://java.sun.com/jsf/composite/components">
<ui:define name="content">
<h:outputScript target="head" name="showMessage.js" library="js"/>
        <h1>Sistema de Cadastro Discador Telein</h1>
<h:outputStylesheet name="app.css" library="css"/> 
            <h:panelGrid columns="3" columnClasses="titleCell">
        <h:outputLabel for="login" value="Login: "/>
        <h:inputText id="login" value="#{cc.attrs.discador.name}">
            <rich:validator/>
        </h:inputText>
        <rich:message for="login" errorClass="invalid"/>

        <h:outputLabel for="senha" value="Senha:"/>
        <h:inputText id="email" value="#{cc.attrs.discador.email}">
            <rich:validator/>
        </h:inputText>
        <rich:message for="senha" errorClass="invalid"/>
    </h:panelGrid>
    </ui:define>
</ui:composition>
